package com.last.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.last.entity.HouseName;
import com.last.entity.PageDTO;
import com.last.entity.PageResult;
import com.last.entity.Result;

import java.util.List;

public interface IHouseService extends IService<HouseName> {


    List<HouseName> findAll();

    PageResult<HouseName> findAllByPage(PageDTO<HouseName> pageDTO);

    //Result<HouseName> save(HouseName houseName);

    Result<HouseName> del(Integer homeId);

    Result<HouseName> update(HouseName houseName);

    //Result<HouseName> delByIds(List<String> homeIds);
}
